import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class Demo12 {
    public static void main(String[] args) throws IOException {
        try(OutputStream outputStream=new FileOutputStream("./text.txt",true)){
            outputStream.write(0xe4);
            outputStream.write(0xbd);
            outputStream.write(0xa0);
            outputStream.write(0xe5);
            outputStream.write(0xa5);
            outputStream.write(0xbd);


        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
